home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Development Platforms / Apple II / Essentials / MPW IIGS Interfaces / AIIGSIncludes / E16.IntMath < prev    next >
Encoding:
Text File  |  1990-04-03  |  1.1 KB  |  34 lines  |  [TEXT/MPS ]

  1. ; File:  E16.IntMath
  2. ;
  3. ;
  4. ; Copyright Apple Computer, Inc. 1986-90
  5. ; All Rights Reserved
  6. ;
  7. ;
  8. imBadInptParam EQU $0B01  ; bad input parameter
  9. imIllegalChar EQU $0B02  ; Illegal character in string
  10. imOverflow EQU $0B03  ; integer or long integer overflow
  11. imStrOverflow EQU $0B04  ; string overflow
  12. minLongint EQU $80000000  ; minimum negative signed long integer
  13. minFrac EQU $80000000  ; pinned value for negative Frac overflow
  14. minFixed EQU $80000000  ; pinned value for negative Fixed overflow
  15. minInt EQU $8000  ; Minimum negative signed integer
  16. maxInt EQU $7FFF  ; Maximum positive signed integer
  17. maxUInt EQU $FFFF  ; Maximum positive unsigned integer
  18. maxLongint EQU $7FFFFFFF  ; maximum positive signed Longint
  19. maxFrac EQU $7FFFFFFF  ; pinned value for positive Frac overflow
  20. maxFixed EQU $7FFFFFFF  ; pinned value for positive Fixed overflow
  21. maxULong EQU $FFFFFFFF  ; maximum unsigned Long
  22. ; offset constants for IntDivRec
  23. oidquotient EQU 0
  24. oidremainder EQU 2
  25. ; offset constants for LongDivRec
  26. oldquotient EQU 0
  27. oldremainder EQU 4
  28. ; offset constants for LongMulRec
  29. olsResult EQU 0
  30. omsResult EQU 4
  31. ; offset constants for WordDivRec
  32. owdquotient EQU 0
  33. owdremainder EQU 2
  34.